package com.lin.common.vo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

public class TranslateReqMsg implements Serializable {

    private Boolean testFlag;

    private String sourceLanguage;
    @NotBlank(message ="targetLanguage must be not null")
    private String targetLanguage;
    @NotBlank(message ="text must be not null")
    private String text;

    public String getSourceLanguage() {
        return sourceLanguage;
    }

    public void setSourceLanguage(String sourceLanguage) {
        this.sourceLanguage = sourceLanguage;
    }

    public String getTargetLanguage() {
        return targetLanguage;
    }

    public void setTargetLanguage(String targetLanguage) {
        this.targetLanguage = targetLanguage;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Boolean getTestFlag() {
        return testFlag;
    }

    public void setTestFlag(Boolean testFlag) {
        this.testFlag = testFlag;
    }
}
